package com.yunbao.common.utils;

import java.util.Random;

// +----------------------------------------------------------------------
// | Created by Yunbao
// +----------------------------------------------------------------------
// | Copyright (c) 2013~2022 http://www.yunbaokj.com All rights reserved.
// +----------------------------------------------------------------------
// | Author: https://gitee.com/yunbaokeji/
// +----------------------------------------------------------------------
// | Date: 2022-02-17
// +----------------------------------------------------------------------


public class RandomUtil {
    private static Random sRandom;

    static {
        sRandom = new Random();
    }

    public static int nextInt(int bound) {
        return sRandom.nextInt(bound);
    }
}
